package com.springboot.repository;

import com.springboot.domain.BtDemandAuthority;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository

public interface DemandAuthorityRepository extends JpaRepository<BtDemandAuthority,String> {

    List<BtDemandAuthority> findByDemandId(String id);

    void deleteByDemandId(String id);
}
